@import './reset';
::-webkit-input-placeholder { color:#999; }
body{
	background: #F5F8FA;
}
.container{
	width: 100%;
	background: #F5F8FA;
	overflow: hidden;
	box-sizing: border-box;
	padding-bottom: calculateRem(72px);
	// display: flex;
    // align-items: center;
    // justify-content: center;
	.affirm-top{
		box-sizing: border-box;
		border-bottom: 1px solid #dae3ea;
		padding: calculateRem(12px) calculateRem(16px);
		background: white;
		.title{
			width: 100%;
			height: calculateRem(36px);
			line-height: calculateRem(26px);
			box-sizing: border-box;
			border-bottom: 1px solid #F5F8FA;
			.title-l{
				width: 56%;
				height: calculateRem(26px);
				float: left;
				@include ell;
				font-size: calculateRem(17px);
				color: #000000;
			}
			.title-r{
				width: 40%;
				height: calculateRem(26px);
				float: right;
				font-size: calculateRem(14px);
				color: #4b4b4b;
				text-align: right;

			}
		}
		.descibe{
			width: 100%;
			height: auto;
			margin-top: calculateRem(10px);
			.pic{
				width: calculateRem(44px);
				height: calculateRem(44px);
				overflow: hidden;
				margin-right: calculateRem(10px);
				>img{
					width: 100%;
					height: 100%;
				}
			}
			.text{
				font-size: calculateRem(14px);
				color: #4B4B4B;
				letter-spacing: 0;
				line-height: calculateRem(22px);
				max-height: calculateRem(44px);
				overflow: hidden;
				@include mulell(2);
			}
		}
	}
	.sign-w{
		width: 100%;
		height: auto;
		margin-top: calculateRem(10px);
		/*background: white;*/
		background: #F5F8FA;
		box-sizing: border-box;
		border-bottom: 1px solid #dae3ea;
		.title{
			width: 100%;
			box-sizing: border-box;
			padding: 0 calculateRem(16px);
			height: calculateRem(40px);
			line-height: calculateRem(40px);
			font-size: calculateRem(16px);
			color: #999;
		}
		.sign-way{
			width: 100%;
			height: calculateRem(50px);
			line-height: calculateRem(50px);
			box-sizing: border-box;
			padding: 0 calculateRem(16px);
			/*border-bottom: 1px solid #F5F8FA;*/
			background: white;
			position: relative;
			&:after{
				content: '';
				height: 1px;
				position: absolute;
				bottom: 0;
				left: calculateRem(16px);
				right: calculateRem(16px);
				background: #F5F8FA;
			}
			.sign-l{
				width: 50%;
				float: left;
				height: calculateRem(50px);
				>span{
					font-size: calculateRem(17px);
					color: #333333;
					&:before{
						content: '';
						display: inline-block;
						width: calculateRem(20px);
						height: calculateRem(20px);
						background: url('../images/affirm_noselect_icon.png') no-repeat;
						background-size: 100%;
						margin-right: calculateRem(6px);
						vertical-align: middle;

					}
				}

			}
			.sign-r{
				width: 50%;
				float: right;
				height: calculateRem(50px);
				text-align: right;
				>span{
					font-size: calculateRem(16px);
					color: #E62622;
					&:after{
						content: '';
						display: inline-block;
						width: calculateRem(8px);
						height: calculateRem(16px);
						vertical-align: -2px;
						background: url('../images/affirm_right_arrow_icon.png') no-repeat;
						background-size: 100% 100%;
						margin-left: calculateRem(6px);
					}
				}
			}

			
		}
		.no-arrow{
			.sign-r{
				>span{
					&:after{
						display: none;
					}
				}
			}
		}
		.active{
			.sign-l{
				>span{
					&:before{
						background: url('../images/affirm_select_icon.png') no-repeat;
						background-size: 100%;
					}
				}
			}
		}

	}
	.charge-tip{
		width: 100%;
		height: auto;
		font-size: calculateRem(14px);
		color: #666;
		line-height: calculateRem(18px);
		box-sizing: border-box;
		padding: 0 calculateRem(16px);
		margin-top: calculateRem(5px);
	}
	.sign-w2{
		width: 100%;
		height: auto;
		margin-top: calculateRem(10px);
		box-sizing: border-box;
		border-bottom: 1px solid #dae3ea;
		.title{
			width: 100%;
			height: calculateRem(30px);
			line-height: calculateRem(30px);
			padding: 0 calculateRem(16px);
			font-size: calculateRem(16px);
			color: #4B4B4B;
		}
		.li-bar{
			width: 100%;
			height: calculateRem(50px);
			line-height: calculateRem(50px);
			background: white;
			font-size: calculateRem(16px);
			box-sizing: border-box;
			padding: 0 calculateRem(16px);
			.bar-l{
				width: 70%;
				height: calculateRem(50px);
				float: left;
				color: #333;
				@include ell;
			}
			.bar-r{
				width: 30%;
				height: calculateRem(50px);
				float: right;
				text-align: right;
				color: #E62622;
				@include ell;
			}

		}
	}

	.private-consultant{
		width: 100%;
		height: auto;
		background: white;
		margin-top: calculateRem(12px);
		box-sizing: border-box;
		border-bottom: 1px solid #dae3ea;
		padding: 0 calculateRem(16px);
		.consultant-wrap{
			width: 100%;
			height: calculateRem(50px);
			line-height: calculateRem(50px);
			box-sizing: border-box;
			border-bottom: 1px solid #F5F8FA;
			.consultant-l{
				width: 35%;
				height: calculateRem(50px);
				float: left;
				>span{
					font-size: calculateRem(17px);
					color: #333333;
					
				}
			}
			.consultant-r{
				width: 65%;
				height: calculateRem(50px);
				float: right;
				text-align: right;
				>span{
					font-size: calculateRem(16px);
					color: #4B4B4B;
					&:after{
						content: '';
						display: inline-block;
						width: calculateRem(8px);
						height: calculateRem(16px);
						vertical-align: -2px;
						background: url('../images/affirm_right_arrow_icon.png') no-repeat;
						background-size: 100% 100%;
						margin-left: calculateRem(6px);
					}
					
				}
				>input[type="text"]{
					width: calculateRem(122px);
					height: calculateRem(40px);
					text-align: right;
					font-size: calculateRem(17px);
					border: none;
					color: #4B4B4B;
					vertical-align: top;
					margin-top: 3px;
				}
				
			}

			.no-arrow{
				>span{
					display: inline-block;
					width: calculateRem(60px);
					height: calculateRem(40px);
					line-height: calculateRem(46px);
					@include ell;

					&:after{
						display: none;
					}
				}
			}

		}
	}

	.receive-way{
		width: 100%;
		height: auto;
		/*background: white;*/
		margin-top: calculateRem(12px);
		box-sizing: border-box;
		border-bottom: 1px solid #dae3ea;
		/*padding: 0 calculateRem(16px);*/
		.receive-wrap{
			width: 100%;
			height: calculateRem(50px);
			line-height: calculateRem(50px);
			box-sizing: border-box;
			/*border-bottom: 1px solid #F5F8FA;*/
			background: white;
			padding: 0 calculateRem(16px);
			box-sizing: border-box;
			position: relative;
			&:after{
				content: '';
				height: 1px;
				position: absolute;
				bottom: 0;
				left: calculateRem(16px);
				right: calculateRem(16px);
				background: #F5F8FA;
			}
			.receive-l{
				width: 40%;
				height: calculateRem(50px);
				float: left;
				>span{
					font-size: calculateRem(16px);
					color: #333333;
				}
				
			}
			.receive-r{
				width: 60%;
				height: calculateRem(50px);
				line-height: calculateRem(50px);
				float: right;
				text-align: right;
				@include ell;
				>span{
					font-size: calculateRem(16px);
					color: #4B4B4B;
				}
				>input[type="text"]{
					width: 90%;
					height: calculateRem(40px);
					text-align: right;
					font-size: calculateRem(17px);
					border: 0;
					color: #4B4B4B;
					vertical-align: top;
					margin-top: 3px;
				}


			}

			&:first-child{
				height: calculateRem(30px);
				line-height: calculateRem(30px);
				background: #F5F8FA;
				.receive-l{
					height: calculateRem(30px);
					line-height: calculateRem(30px);
					>span{
						color: #999;
					}
				}
				.receive-r{
					height: calculateRem(30px);
					line-height: calculateRem(30px);
					>span{
						color: #4B4B4B;
						&:after{
							content: '';
							display: inline-block;
							width: calculateRem(8px);
							height: calculateRem(16px);
							vertical-align: -2px;
							background: url('../images/affirm_right_arrow_icon.png') no-repeat;
							background-size: 100% 100%;
							margin-left: calculateRem(6px);
						}

					}
				}
			}
		}
		/*.title-reset{
			height: calculateRem(30px);
			line-height: calculateRem(30px);
			background: #F5F8FA;
		}*/
	}

	


}

.footer{
	width: 100%;
	/*height: calculateRem(60px);*/
	height: auto;
	padding: 0 calculateRem(10px) calculateRem(8px);
	box-sizing: border-box;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: #F5F8FA;
	.deal{
		width: 100%;
		height: auto;
		line-height:calculateRem(26px); 
		box-sizing: border-box;
		/*padding: 0 calculateRem(10px);*/
		font-size: calculateRem(14px);
		color: #666666;
		margin-bottom: 6px;
		text-align: center;
		display: none;
		>i{
			width: calculateRem(22px);
			height: calculateRem(22px);
			display: inline-block;
			background: url('../images/deal_icon_noactive.png') no-repeat;
			background-size: 100% 100%;
			vertical-align: middle;

		}
		>a{
			font-size: calculateRem(14px);
			color: #E62622;

		}
	}
	.select{
		>i{
			background: url('../images/deal_icon_active.png') no-repeat;
			background-size: 100% 100%;
		}
	}

	.confirmSign{
		display: block;
		width: 100%;
		height: calculateRem(50px);
		background: #E62622;
		border-radius: calculateRem(5px);
		color: white;
		font-size: calculateRem(20px);
		text-align: center;
		line-height: calculateRem(50px);
		&:active{
			background: #C51B0D;
		}

	}
}


.alert-box{
	position: fixed;
	z-index: 1000;
	max-width: 86%;
	width: auto;
	height: calculateRem(40px);
	font-size: calculateRem(16px);
	line-height: calculateRem(40px);
	transform: translate(-50%,0);
	left: 50%;
	padding: 0 calculateRem(8px);
	background: rgba(0,0,0,.7);
	top: 20vh;
	border-radius: 5px;
	box-sizing: border-box;
	color: white;
	text-align: center;
	/*word-break: normal;*/
	display: none;
}

.charge-dialog-mask{
	position: fixed;
	background: rgba(0,15,25,.6);
	z-index: 200;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	.charge-dialog{
		position: absolute;
		bottom: calculateRem(10px);
		left: calculateRem(10px);
		right: calculateRem(10px);
		border-radius: calculateRem(13px);
		height: calculateRem(284px);
		background: #F3F5F8;
		box-sizing: border-box;
		/*padding: calculateRem(10px);*/
		>h3{
			margin: 0;
			height: calculateRem(80px);
			line-height: calculateRem(80px);
			text-align: center;
			font-size: calculateRem(20px);
			color: #14171A;
		}
		.list-wrap{
			width: 100%;
			max-height: calculateRem(183px);
			overflow-y: auto;
			background: white;
			.charge-list{
				box-sizing: border-box;
				width: 100%;
				height: calculateRem(61px);
				border-bottom: 1px solid #F3F5F8;
				line-height: calculateRem(60px);
				padding: 0 calculateRem(56px) 0 calculateRem(16px);
				font-size: calculateRem(18px);
				background: white;
				color: #000F19;
				position: relative;
				&:after{
					content: '';
					display: inline-block;
					background: url('../images/affirm_noselect_icon.png') no-repeat;
					background-size: 100%;
					width: calculateRem(20px);
					height: calculateRem(20px);
					right: calculateRem(20px);
					position: absolute;
					top: calculateRem(20px);

				}
				&:active{
					background: #fafafa;
				}
			}
			.active{
				&:after{
					background: url('../images/affirm_select_icon.png') no-repeat;
					background-size: 100%;
				}

			}
		}
		
		.close-btn{
			width: calculateRem(32px);
			height: calculateRem(32px);
			position: absolute;
			top: calculateRem(-47px);
			right: calculateRem(15px);
			border-radius: 50%;
			&:after{
				content: '';
				display: block;
				width: 2px;
				height: calculateRem(15px);
				background: rgba(255,255,255,.6);
				position: absolute;
				bottom: calculateRem(-15px);
				left: calculateRem(15px);
			}
			>img{
				width: 100%;
				height: 100%;
			}
		}
	}

}


.agree-sign-mask{
	position: fixed;
	background: rgba(0,15,25,.6);
	z-index: 200;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	.agree-sign-dialog{
		position: absolute;
		bottom: calculateRem(10px);
		left: calculateRem(10px);
		right: calculateRem(10px);
		border-radius: calculateRem(13px);
		height: calculateRem(204px);
		background: white;
		box-sizing: border-box;
		padding: calculateRem(10px);
		>h3{
			margin: 0;
			text-align: center;
			font-size: calculateRem(20px);
			color: #333;
			margin-top: calculateRem(18px);

		}
		>p{
			font-size: calculateRem(17px);
			color: #4b4b4b;
			text-align: center;
			@include break;
			line-height: calculateRem(24px);
			margin: 0;
			margin-top: calculateRem(14px);
			>span{
				font-style: normal;
				/*font-weight: bold;*/
				color: #E62622;
				margin-left: calculateRem(8px);
			}
		}
		.btns-wrap{
			position: absolute;
			height: calculateRem(50px);
			left: calculateRem(10px);
			right: calculateRem(10px);
			bottom: calculateRem(10px);
			>a{
				display: inline-block;
				height: calculateRem(50px);
				font-size: calculateRem(20px);
				color: #FFFFFF;
				text-align: center;
				line-height: calculateRem(50px);
				outline: none;
				border-radius: calculateRem(5px);
			}
			.agree{
				background: #D8E5F5;
				width: 35%;
				color: #595959;
				float: left;
				&:active{
					background: #eee;
				}
			}
			.sign{
				background: #E62622;
				width: 63%;
				float: right;
				&:active{
					background: #C51B0D;
				}
			}
		}
	}
}

.product-deal-mask,.risk-deal-mask{
	position: fixed;
	background: rgba(0,15,25,.6);
	z-index: 200;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	.product-deal-dialog,.risk-deal-dialog{
		position: absolute;
		bottom: calculateRem(10px);
		left: calculateRem(10px);
		right: calculateRem(10px);
		border-radius: calculateRem(13px);
		/*height: calculateRem(204px);*/
		top: calculateRem(50px);
		background: #F3F5F8;
		box-sizing: border-box;
		padding: calculateRem(10px);
		>h3{
			margin: 0;
			text-align: center;
			font-size: calculateRem(20px);
			color: black;
			/*margin-top: calculateRem(18px);*/

		}
		>h4{
			margin: 0;
			text-align: center;
			font-size: calculateRem(17px);
			color: black;
			font-weight: normal;
			margin-top: calculateRem(10px);

		}
		.text-wrap{
			position: absolute;
			top: calculateRem(80px);
			bottom: calculateRem(70px);
			left: calculateRem(10px);
			right: calculateRem(10px);
			background: white;
			box-sizing: border-box;
			border: 1px solid #7A848A;
			border-radius: 3px; 
			padding: calculateRem(10px);
			overflow-y: auto;

		}
		.btns-wrap{
			position: absolute;
			height: calculateRem(50px);
			left: calculateRem(10px);
			right: calculateRem(10px);
			bottom: calculateRem(10px);
			>a{
				display: inline-block;
				height: calculateRem(50px);
				font-size: calculateRem(20px);
				color: #FFFFFF;
				text-align: center;
				line-height: calculateRem(50px);
				outline: none;
				border-radius: calculateRem(5px);
			}
			.noagree{
				background: #D8E5F5;
				width: 35%;
				color: #595959;
				float: left;
				&:active{
					background: #eee;
				}
			}
			.sign{
				background: #E62622;
				width: 63%;
				float: right;
				&:active{
					background: #C51B0D;
				}
			}
		}
	}
}


.select-consultant-mask{
	position: fixed;
	background: rgba(0,15,25,.6);
	z-index: 200;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	.select-consultant-dialog{
		position: absolute;
		bottom: calculateRem(10px);
		left: calculateRem(10px);
		right: calculateRem(10px);
		border-radius: calculateRem(13px);
		height: calculateRem(290px);
		/*height: auto;
		max-height:  calculateRem(284px);*/
		background: #F3F5F8;
		box-sizing: border-box;
		padding: calculateRem(10px);
		>h3{
			margin: 0;
			text-align: center;
			font-size: calculateRem(20px);
			color: #333;
			/*margin-top: calculateRem(18px);*/
		}
		>h4{
			margin: 0;
			font-size: calculateRem(15px);
			font-weight: normal;
			text-align: center;
			color: #4B4B4B;
			margin-top: calculateRem(4px);
		}
		.consultants-wrap{
			width: 100%;
			height: calculateRem(156px);
			margin-top: calculateRem(8px);
			margin-bottom: calculateRem(6px);
			overflow-y: auto;
			.consultant{
				display: inline-block;
				box-sizing: border-box;
				height: calculateRem(32px);
				border: 1px solid #868A8D;
				border-radius: 4px;
				line-height: calculateRem(30px);
				width: auto;
				padding: 0 calculateRem(8px);
				font-size: calculateRem(14px);
				color: #333333;
				margin-right: calculateRem(8px);
				margin-bottom: calculateRem(12px);
				vertical-align: top;
				background: white;

			}
			.active{
				color: #E62622;
				border: 1px solid #E62622;
			}
		}
		.sure{
			display: block;
			width: 100%;
			height: calculateRem(50px);
			border-radius: 5px;
			box-sizing: border-box;
			line-height: calculateRem(50px);
			text-align: center;
			background: #E62622;
			color: white;
			font-size: calculateRem(20px);
			&:active{
				background: #C51B0D;
			}
		}
		.close-btn{
			width: calculateRem(32px);
			height: calculateRem(32px);
			position: absolute;
			top: calculateRem(-47px);
			right: calculateRem(15px);
			border-radius: 50%;
			&:after{
				content: '';
				display: block;
				width: 2px;
				height: calculateRem(15px);
				background: rgba(255,255,255,.6);
				position: absolute;
				bottom: calculateRem(-15px);
				left: calculateRem(15px);
			}
			>img{
				width: 100%;
				height: 100%;
			}
		}
	}
	
}


.alert-box{
	position: fixed;
	z-index: 1000;
	max-width: 86%;
	width: auto;
	height: calculateRem(40px);
	font-size: calculateRem(16px);
	line-height: calculateRem(40px);
	transform: translate(-50%,0);
	left: 50%;
	padding: 0 calculateRem(8px);
	background: rgba(0,0,0,.7);
	top: 18vh;
	border-radius: 5px;
	box-sizing: border-box;
	color: white;
	text-align: center;
	display: none;
}